home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / tabguides.h < prev    next >
Encoding:
C/C++ Source or Header  |  2007-06-11  |  2.4 KB  |  99 lines

  1. /*
  2. For general Scribus (>=1.3.2) copyright and licensing information please refer
  3. to the COPYING file provided with the program. Following this notice may exist
  4. a copyright and/or license notice that predates the release of Scribus 1.3.2
  5. for which a new license (GPL+exception) is in place.
  6. */
  7. #ifndef TABGUIDES_H
  8. #define TABGUIDES_H
  9.  
  10. #include "scribusapi.h"
  11.  
  12. #include <QWidget>
  13.  
  14. class QHBoxLayout;
  15. class QGridLayout;
  16. class QVBoxLayout;
  17. class QGroupBox;
  18. class QRadioButton;
  19. class QLabel;
  20. class QSpinBox;
  21. class QPushButton;
  22. class ScrSpinBox;
  23. class QColor;
  24.  
  25. class SCRIBUS_API TabGuides : public QWidget
  26. {
  27.     Q_OBJECT
  28.  
  29. public:
  30.     TabGuides( QWidget* parent, struct guidesPrefs *prefsData, struct typoPrefs *prefsData2, int unitIndex);
  31.     ~TabGuides() {};
  32.     void restoreDefaults(struct guidesPrefs *prefsData, struct typoPrefs *prefsData2, int unitIndex);
  33.     void unitChange(QString unit, int docUnitIndex, double invUnitConversion);
  34.  
  35.     ScrSpinBox* majorSpace;
  36.     ScrSpinBox* minorSpace;
  37.     QSpinBox* snapDistance;
  38.     QLabel* checkBaseline;
  39.     QColor colorGuides;
  40.     QColor colorMargin;
  41.     QColor colorMajorGrid;
  42.     QColor colorMinorGrid;
  43.     QColor colorBaselineGrid;
  44.     QGroupBox* checkGrid;
  45.     QGroupBox* groupBox1;
  46.     QGroupBox* groupBox2;
  47.     QGroupBox* commonBox;
  48.     QGroupBox* snapBox;
  49.     QGroupBox* guideBox;
  50.     QGroupBox* marginBox;
  51.     QGroupBox* baselineBox;
  52.     QGroupBox* baseGridBox;
  53.     QGroupBox* buttonGroup1;
  54.     QRadioButton* inBackground;
  55.     QRadioButton* inForeground;
  56.     QLabel* textLabel4;
  57.     QLabel* textLabel5;
  58.     QLabel* textLabel6;
  59.     QLabel* textLabel7;
  60.     QLabel* textLabel8;
  61.     QLabel* textLabel82;
  62.     QLabel* checkMargin;
  63.     QLabel* checkGuides;
  64.     QPushButton* majorGridColor;
  65.     QPushButton* minorGridColor;
  66.     QPushButton* baselineColor;
  67.     QPushButton* guideColor;
  68.     QPushButton* marginColor;
  69.     QSpinBox* grabDistance;
  70.     QLabel* textLabel6a;
  71.     QLabel* textLabel7a;
  72.     ScrSpinBox* baseGrid;
  73.     ScrSpinBox* baseOffset;
  74.     QLabel* textLabel8a;
  75.  
  76. protected slots:
  77.     virtual void changeMajorColor();
  78.     virtual void changeMinorColor();
  79.     virtual void changeBaselineColor();
  80.     virtual void changeGuideColor();
  81.     virtual void changeMarginColor();
  82.  
  83. protected:
  84.     QVBoxLayout* tabGuidesLayout;
  85.     QGridLayout* checkGridLayout;
  86.     QGridLayout* groupBox1Layout;
  87.     QGridLayout* groupBox2Layout;
  88.     QHBoxLayout* commonBoxLayout;
  89.     QGridLayout* snapBoxLayout;
  90.     QHBoxLayout* guideBoxLayout;
  91.     QHBoxLayout* marginBoxLayout;
  92.     QGridLayout* baselineBoxLayout;
  93.     QGridLayout* baseGridBoxLayout;
  94.     QVBoxLayout* buttonGroup1Layout;
  95.     QHBoxLayout* layout9;
  96.     QHBoxLayout* layout9a;
  97. };
  98. #endif
  99.